/*
 * --------------------------------------------------------------
 * Copyright ©  2015 Hangzhou DtDream Technologies Co.,Ltd.
 * --------------------------------------------------------------
 *      Product: 协同数治
 *  Module Name: design
 * Date Created: 2023/2/22
 *  Description: TODO
 * --------------------------------------------------------------
 * Modification History
 * DATE            NAME            Description
 * --------------------------------------------------------------
 * 2023/2/22       yewj            TODO
 * --------------------------------------------------------------
 */

package com.dtdream.pattern.template;

/**
 * TODO
 *
 * @Author: yewj
 **/
public abstract class SoyaMilk {

    final void make() {
        select();
        addCondiments();
        soak();
        beat();
    }

    void select() {
        System.out.println("第一步 选择好的新鲜黄豆");
    }

    abstract void addCondiments();

    void soak() {
        System.out.println("第二步 黄豆和配料开始浸泡");
    }

    void beat() {
        System.out.println("第三步 黄豆和配料放到豆浆机去打碎");
    }

}
